package com.situ.crm.pojo.entity;

import java.util.Date;

public class CustomerLoss {
    private Integer id;
    private  Integer customerId;
    private String customerName;
    private Date  lastOrderTime;
    private String lossReason;
    private Date createTime;
    private Date updateTime;

    public CustomerLoss() {
    }

    public CustomerLoss(Integer id, Integer customerId, String customerName, Date lastOrderTime, String lossReason, Date createTime, Date updateTime) {
        this.id = id;
        this.customerId = customerId;
        this.customerName = customerName;
        this.lastOrderTime = lastOrderTime;
        this.lossReason = lossReason;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Date getLastOrderTime() {
        return lastOrderTime;
    }

    public void setLastOrderTime(Date lastOrderTime) {
        this.lastOrderTime = lastOrderTime;
    }

    public String getLossReason() {
        return lossReason;
    }

    public void setLossReason(String lossReason) {
        this.lossReason = lossReason;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CustomerLoss{" +
                "id=" + id +
                ", customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", lastOrderTime=" + lastOrderTime +
                ", lossReason='" + lossReason + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
